<template>
  <div class="download-box">

  </div>
</template>

<script>
import ExportJsonExcel from "js-export-excel";
export default {
  data() {
    return {};
  },
  components: {},
  mounted() {
    var option = {};
    var obj = {
      sheetData: [], //表格数据
      sheetName: "",
      sheetFilter: [],
      sheetHeader: []
    };
    option.fileName = ele.fileName;
    obj.sheetName = ele.fileName;
    obj.sheetFilter = ele.add.sheetFilter || [];
    obj.sheetHeader = ele.add.sheetHeader || [];

    var toExcel = new ExportJsonExcel(option); //new
    toExcel.saveExcel(); //保存
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>
